package com.cc.blog.service;

import com.cc.blog.vo.CategoryVo;
import com.cc.blog.vo.Result;

public interface CategoryService {

    CategoryVo findCategoryById(Long id);

    Result findAllCategory();

    /**
     * 查找文章类别
     * @return
     */
    Result findAllCategoryDetail();

    /**
     * 通过id查找相应文章类别里的文章
     * @param id
     * @return
     */
    Result findAllCategoryDetailById(Long id);
}
